<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            border-top: 3px solid orange;
            border-bottom: 1px solid grey;
        }
        span{
            display: inline-block;
            height: 50px;
            text-align: center;
            line-height: 50px;
            color: grey;
            padding: 0px 20px;
        }
        span:hover{
            color: orange;
            background-color: #f0f0f0;
        }
        
    </style>
</head>
<body>
<div>
    <span>新浪导航小米官网</span>
    <span>导航</span>
    <span>点我一下</span>
    <span>退出</span>
</div>
</body>
</html>